home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10788 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1005 b 

  1. Path: news.pix.za!usenet
  2. From: js000021@pixie.co.za (Smit JS)
  3. Newsgroups: comp.lang.c++
  4. Subject: fstream.h, openprot and share
  5. Date: Mon, 11 Mar 1996 08:35:55 GMT
  6. Organization: PiX - Proxima information X-change
  7. Message-ID: <4i16nm$bh@hawk.pix.za>
  8. NNTP-Posting-Host: 196.23.60.108
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. Hi all,
  12. I am using BC3.1 in a DOS program.
  13. I would like to use the stream functions and open a file twice while
  14. share.exe is loaded. (The exe file has to write config info to its
  15. file). The low-level equivalent is sopen. All I can find in the
  16. handbooks and fstream.h files are:
  17. >class  _CLASSTYPE filebuf : public streambuf {
  18. >public:
  19. >static const int openprot;  // default file protection
  20. >   // open named file with mode and protection, attach to this filebuf
  21. >    filebuf _FAR * _Cdecl open( const signed char _FAR *, int,
  22. >                                int = filebuf::openprot );
  23. Nowhere do I find reference to openprot.
  24. Please help.
  25. Thank you
  26. Johan Smit
  27. js000021@pixie.co.za
  28.  
  29.  
  30.